package threadpool;

/**
 * @Classname ShutDownTask
 * @Description ShutDownTask
 * @Date 2024/1/7 20:40
 * @Author zhuzhenguo
 */
public class ShutDownTask implements Runnable {
    @Override
    public void run() {
        try {
            Thread.sleep(500);
            System.out.println(Thread.currentThread().getName());
        } catch (InterruptedException e) {
            System.out.println(Thread.currentThread().getName() + "被中断了");
        }
    }
}
